﻿using System.Web.Mvc;
using JaxDug.ViewModels;

namespace JaxDug.Controllers
{
    public partial class PresentationController : Controller
    {
        public PresentationController()
        {
        }

       
        //
        // GET: /Presentation/Details/5

        public virtual ActionResult Details(int id)
        {
            return View();
        }

        //
        // GET: /Presentation/Create

        public virtual ActionResult Create()
        {
            return View();
        }

        //
        // POST: /Presentation/Create

        [HttpPost]
        public virtual ActionResult Create(FormCollection collection)
        {
            try
            {
                // TODO: Add insert logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

        //
        // GET: /Presentation/Edit/5

        public virtual ActionResult Edit(int id)
        {
            return View();
        }

        //
        // POST: /Presentation/Edit/5

        [HttpPost]
        public virtual ActionResult Edit(int id, FormCollection collection)
        {
            try
            {
                // TODO: Add update logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

        //
        // GET: /Presentation/Delete/5

        public virtual ActionResult Delete(int id)
        {
            return View();
        }

        //
        // POST: /Presentation/Delete/5

        [HttpPost]
        public virtual ActionResult Delete(int id, FormCollection collection)
        {
            try
            {
                // TODO: Add delete logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
    }
}